/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.intention;

import org.hibernate.validator.constraints.Length;

import com.server.common.persistence.DataEntity;

/**
 * 潜在客户信息记录Entity
 * @author 金小敏
 * @version 2017-04-01
 */
public class TCustomerIntention extends DataEntity<TCustomerIntention> {
	
	private static final long serialVersionUID = 1L;
	protected String name;		// 姓名
	protected String tel;		// 电话
	protected String sex;		// 性别
	protected String datum;		// 已有资料
	
	public TCustomerIntention() {
		super();
	}

	public TCustomerIntention(String id){
		super(id);
	}

	@Length(min=0, max=255, message="姓名长度必须介于 0 和 255 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=255, message="电话长度必须介于 0 和 255 之间")
	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}
	
	@Length(min=0, max=255, message="性别长度必须介于 0 和 255 之间")
	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
	
	@Length(min=0, max=255, message="已有资料长度必须介于 0 和 255 之间")
	public String getDatum() {
		return datum;
	}

	public void setDatum(String datum) {
		this.datum = datum;
	}
	
}